package io.geekidea.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.geekidea.springboot.entity.Building;

import java.util.List;

public interface IBuildingService extends IService<Building> {
    Page<Building> listByPage(int page, int size, List<Long> type);

    List<Building> getExportList(List<Long> types,List<Long> idList);

    Building getById(Long id);

    boolean delete(Long id);

    @Override
    boolean save(Building building);

    @Override
    boolean updateById(Building building);
}
